<!DOCTYPE html >

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">

<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>

<body>
<p>这是index页面点击跳转到thymeleaf页面</p>
<button onclick="redirect()">跳转thymeleaf页面</button>

<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
	function redirect(){
		location.href="thyme";
	}
</script>
</body>
</html>